﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Workbench.Shared
{
    public static class LoggingService
    {
        public static void LogError(string message)
        {
            Trace.WriteLine(string.Format("Workbench ERROR: {0}", message));
        }
        public static void LogError(Exception ex)
        {
            Trace.WriteLine(ex.ToString());
        }
        public static void LogError(string message, Exception ex)
        {
            Trace.WriteLine(string.Format("Workbench ERROR: {0}", message));
            Trace.WriteLine(ex.ToString());
        }
    }
}
